import django_filters

from student.models import Student


class StudentFilter(django_filters.rest_framework.FilterSet):
    """
    学员的过滤类
    """
    class Meta:
        model = Student
        fields = ['gender', 'payment_status','school','competition_season']
